class EmpresasController < ApplicationController
  active_scaffold :empresa do |config|
    config.theme = :blue
    config.label = "Empresas"
    
    config.columns[:cnpj].label = "CNPJ"
    config.columns[:nome].label = "NOME"
    config.columns[:numerocnes].label = "Nº CNES"
    config.columns[:registroans].label = "REG ANS"    
    
    config.create.link.label = "NOVO"
    config.search.link.label = "BUSCA"
    config.show.link.label = "Mostrar"
    config.delete.link.label = "Apagar"
    config.delete.link.confirm = "Apagar?"  
  end
end
